package com.syni.mdd.sjb.common.component.utils.common.annotations;

import org.springframework.validation.annotation.Validated;

import java.lang.annotation.*;

/**
 * @className EntranceTest
 * @description TOO
 * @Author cfx
 * @DATE 2019/7/8 17:45
 * @VERSION 1.0
 **/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
@Documented
public @interface EntranceCheck {
    @Validated
    String[] params() default {};
    boolean checkAuth() default false;
}
